package adapter.entrust;

import adapter.Banner;

/**
 * 委托
 */
public class PrintBanner extends Print {
    Banner banner;

    public PrintBanner(Banner banner) {
        this.banner = banner;
    }

    @Override
    public void printWeak() {
        banner.showWithParen();
    }

    @Override
    public void printStrong() {
        banner.showWithAster();
    }
}
